package com.dyh.quickdemozwei.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.function.Function;

@Configuration
public class FunctionConfig {

    @Bean
    Function<String,Integer> ytq(){
        return String::length;
    }

}
